import requests from '@/api/request'
export default {
  // 查询
  postQueryBizData (data) {
    return requests({
      url: `/v1/api/backend/business/param/findAllList`,
      method: 'post',
      data
    })
  },
  // 编辑
  putBizData (data) {
    return requests({
      url: `/v1/api/backend/business/param/editBusinessParam`,
      method: 'post',
      data
    })
  },
  // 获取已添加节点或用户列表
  getSettingData (data) {
    return requests({
      url: `/v1/api/backend/settingRelateList/queryBySettingId`,
      method: 'post',
      data
    })
  },
  // 查询全部用户
  queryAllUserList (data) {
    return requests({
      url: `/v1/api/user/user/queryByCondition`,
      method: 'post',
      data
    })
  },
  // 标签列表查询
  postQueryLabelData (data) {
    return requests({
      url: `/v1/api/user/label/queryByCondition`,
      method: 'post',
      data
    })
  }
}
